package com.hhx.ec.controller;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import com.hhx.ec.service.ServiceFeignImpl;

@Controller
public class FeignController {

	@Resource
	private  ServiceFeignImpl serviceFeignImpl;
	
	@RequestMapping(value = "/ft",method = {RequestMethod.GET})
	@ResponseBody
	public Object  TestFeignRequerst(String name) {
		return serviceFeignImpl.testFeign(name);
	}
	
	
}
